from flask import *

app = Flask(__name__)
app.config["name"] = 'zyd'
app.config["SECRET_KEY"] = 'qdddd!=kt_8c*ohm$3k+hhhhejx&+=4avs#-a6+#@@'


@app.route("/")
def index():
    msg = 'yt老师真滴帅aaa'
    dic = {"name": "zyd", "age": 18}
    # flash 管道
    flash("zyd")
    flash("2021")
    flash("进大厂!")

    return render_template('index.html', dic=dic)


app.run(debug=True)
